package com.zjx.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjx.shop.common.utils.PageUtils;
import com.zjx.shop.common.utils.PageParams;
import com.zjx.shop.product.entity.BrandEntity;
import com.zjx.shop.product.entity.CategoryBrandRelationEntity;

import java.util.List;


/**
 * 品牌分类关联
 *
 * @author zjx
 * @email 1569675735@qq.com
 * @date 2023-05-06 15:23:28
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(PageParams params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(Long brandId, String name);

    void updateCategory(Long catId, String name);

    List<BrandEntity> getBrandsByCatId(Long catId);
}

